package com.ubank.utils;

import java.util.Properties;

public class IpSetter {
	
	private static String ip;
	
	static{
		Properties prop = new Properties();
		try {
			prop.load(IpSetter.class.getClassLoader().getResourceAsStream("serviceIp.properties"));
			ip = prop.getProperty("ip");
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	
	public static String getIp(){
		return ip;
	}
}
